#app {
    font-family: Avenir, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #2c3e50;
}


body {
    margin: 0;

    .vertical-middle {
        vertical-align: middle;
    }

    // 整个页面区域
    .main {
        height: 100vh;

        // 头部
        .header {
            // 高度改变时，注意修改下面.page的计算高度、logo高度
            height: 50px !important;
            background: #1951be;
            background: -webkit-gradient(linear,left bottom,right top,color-stop(0,#1951be),color-stop(1,#2780ec));
            padding: 0 !important;
            color: #FFF;

            .logo {
                width: auto;
                min-width: 200px;
                background-color: transparent;
                color: #fff;
                border-bottom: 0 solid transparent;
                transition: width .3s ease-in-out;
                display: block;
                float: left;
                height: 50px;
                font-size: 20px;
                line-height: 50px;
                width: 230px;
                padding: 0 15px;
                font-weight: 300;
                overflow: hidden;
            }

            .customer-menus > div {
                position: relative;
                display: block;
                float: left;
                padding: 0 15px;
                line-height: 50px;
            }

            .customer-menus {
                float: right;

                .user-info {
                    .el-dropdown {
                        padding-left: 8px;
                    }

                    .el-dropdown-link {
                        cursor: pointer;
                        color: #fff;
                    }
    
                    .el-icon-arrow-down {
                        font-size: 12px;
                    }
                }
            }
            
        }

        // 除去头部的下面区域
        .page {
            // 这里减去的数据要和.header的高度一致
            // 保证做的菜单的滚动和右侧区域的滚动不属于一个
            height: calc(100vh - 50px);

            .aside {
                width: 200px !important;
                border-right: solid 1px #e6e6e6;

                .el-menu {
                    border-right: none;
                }

                .el-submenu [class^=el-icon-] {
                    width: inherit !important;
                }
            }

            .el-main {
                padding: 0 !important;
                overflow: hidden !important;

                .el-tabs--border-card {
                    border: none !important;
                    box-shadow: none !important;

                    .el-tabs__content {
                        padding: 0 !important;
                        background-color: #f8f8f8;
                        
                        .content {
                            height: calc(100vh - 50px - 40px - 30px);
                            padding: 15px;
                            
                        }
                    }
                }

                
            }
            
        }
    }
}

@import './element-ui.scss'